<div>
    <style>
        select{
            min-width: 80px;
        }
        .show0{
            background: #e66262;
            border-color: #e66262;
        }
        .show1{
            background: #2dafe0;
            border-color: #2dafe0;;
        }
        #wrapper{
            background-color: #fff;
        }
        .layui-layer-content{
            background-color: #393D49;
            color: #fff;
        }
    </style>
    <div class="ibox-content">
        <div role="form" class="form-inline">
            <div class="form-group">
                <label for="exampleInputEmail2" >ID:</label>
                <input type="text" placeholder="视频ID" id="video_id" class="form-control">
            </div>
            <div class="form-group">
                &nbsp;&nbsp;&nbsp;
                <label for="exampleInputPassword2">标题</label>
                <input type="text" placeholder="视频标题" id="video_title" class="form-control">
            </div>
            <div class="form-group">
                <div class="form-group">
                    &nbsp;&nbsp;&nbsp;
                    <label class="exampleInputPassword2">创建时间：</label>
                    <input id="video_date1" ng-model="start" class="form-control layer-date" placeholder="开始时间"onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                </div>
                <div class="form-group">
                    <input id="video_date2" ng-model="end" class="form-control layer-date" placeholder="结束时间"onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})">
                </div>
            </div>
            <br>
            <br>
            <div class="form-group">
                <label for="exampleInputPassword2">视频归属:</label>
                <select class="form-control m-b" id="video_type1" ng-model="select1" ng-options="s.name for s in list" name="account">
                    <option value=""></option>
                </select>
                <select class="form-control m-b" name="account" id="video_type2" ng-model="select2" ng-options="s.name for s in select1.child">
                    <option value=""></option>
                </select>
                <select class="form-control m-b" name="account" id="video_type3" ng-model="select3" ng-options="s.value for s in select2.child">
                    <option value=""></option>
                </select>
                <label for="exampleInputPassword2">&nbsp;&nbsp;&nbsp;&nbsp;状态:</label>
                <select class="form-control m-b" name="account" id="video_status">
                    <option value="">全部</option>
                    <option value="0">已显示</option>
                    <option value="1">已隐藏</option>
                </select>
                <button class="btn btn-primary"  style="position: relative;top: -8px;left: 20px;" ng-click="videoSelectAll()">查询</button>
            </div>
        </div>
        <!--分页-->
        <div >
            <!--<p id="pageIndex" style="font-size:20px;font-weight:bold;color:blue;margin-left:150px;"></p>-->
            <ul class="pagination"></ul>
        </div>
        <!--展示列表区域-->
        <div class="ibox-content">

            <table class="table table-bordered">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>标题</th>
                    <th>视频归属</th>
                    <th>浏览量</th>
                    <th>点赞数</th>
                    <th>评论数</th>
                    <th>转发数</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="i in listArr">
                    <td>{{i.videoId}}</td>
                    <td><a href="/touch/view/video.html?videoId={{i.videoId}}" target="_blank">{{i.title}}</a></a></td>
                    <td>{{i.father}}/{{i.son}}/{{i.grandson}}</td>
                    <td>{{i.viewCount}}</td>
                    <td>{{i.praiseCount}}</td>
                    <td>{{i.discussCount}}</td>
                    <td>{{i.shareCount}}</td>
                    <td>
                        <button id="article_change" type="button" class="btn btn-primary btn-sm show{{i.status}}" ng-click="videoChange(i.status,i.videoId,this)" ng-bind="change(i.status)"></button>
                        <button type="button" class="btn btn-primary btn-sm" ng-click="videoUpdate(i.videoId)">修改</button>
                    </td>
                </tr>
                </tbody>
            </table>

        </div>
    </div>
</div>
